package future;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class StringResults implements ConsolidateResult<String> {
	private final List<String> results = new ArrayList<>();

	@Override
	public void addResult(final String result) {
		results.add(result);
	}

	public List<String> getResults() {
		return Collections.unmodifiableList(results);
	}
}
